#define _CRT_SECURE_NO_WARNINGS 1
double f(double x)
{
	return x + (cos(x) - x) / (sin(x) + 1);
}